﻿@model ES.Models.Product
@{Html.RenderPartial("ProductDetail", Model);}
@using (Html.BeginForm())
{
    var monthList = new List<int>();
    var yearList = new List<int>();
    for (var i = 1; i <= 12; i++) { monthList.Add(i); }
    for (var i = 1; i <= 30; i++) { yearList.Add(i); }
@Html.HiddenFor(d=>d.Id)
    @Html.Label("Kart Numarası") 
    @Html.TextBox("CardNumber")
    @Html.Label("Cv2 No") 
    @Html.TextBox("SecurityNumber")
    @Html.Label("Kart Sahibi Ad Soyad") 
    @Html.TextBox("CardHasName")
    @Html.Label("Son kullanma Ay") 
    @Html.DropDownList("ExpMonth", new SelectList(yearList))
    @Html.Label("Son Kullanma Yıl") 
    @Html.DropDownList("ExpYear", new SelectList(monthList))
    <input type="submit" value="Satışı tamamla" />
}